// store/use-user-store.ts
import { defineStore } from 'pinia'
 
export const useRouterStore = defineStore('router', {
  state: () => {
    return {
      tags:[]
    }
  },
  actions: {
    setToken (value) {
      this.accessToken = value
    }
  },
  persist: {
    enabled: true, // 这个配置代表存储生效，而且是整个store都存储
  }
})

//对外暴露方法
export default useRouterStore;